-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/FOUR-10790: Multiplayer support for boundary events #1689
Conversation
src/components/modeler/Selection.vue
Outdated
boundaryTimerEventId, | ||
]; | ||
|
||
const boundaryNodes = window.ProcessMaker.$modeler.nodes.filter(node => boundaryEventTypes.includes(node.type)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uhmm I'm pretty sure this nodes are available in the store?
Also, window.ProcessMaker.$modeler
is a ref I believe also. Can you confirm @rodriquelca
attachedToRef: this.node.definition.get('attachedToRef'), | ||
}; | ||
|
||
const { paper } = window.ProcessMaker.$modeler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same goes here, the paper should be available in the store or ref
src/multiplayer/multiplayer.js
Outdated
// Trigger a rendering of the element on the paper | ||
paper.findViewByModel(element).update(); | ||
} | ||
attachBoundaryEventToNode(element, data) { | ||
const { paper } = this.modeler; | ||
let node = this.getNodeById(data.attachedToRefId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let node = this.getNodeById(data.attachedToRefId); | |
const node = this.getNodeById(data.attachedToRefId); |
SonarQube Quality Gate |
Add support for Boundary events in collaborative modeler
Related PRs
Screen.Recording.2023-10-12.at.11.10.05.mov
Screen.Recording.2023-10-12.at.16.28.59.mov